build: Conditionally generate introspection
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 8 Dec 2022 11:35:50 +0000 (11:35 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 8 Dec 2022 11:37:16 +0000 (11:37 +0000)
commit4b8cdeec09290b5adb217d7f6dbfa5a00822c6a4
treecf843f67d321f56d2577087e81b52eb4ba40403f
parentd9607201569ecd84d6ab1496e4ff47183da58223
build: Conditionally generate introspection

We not only want to use the "introspection" option: we also want to
avoid building when cross-compiling, and if the introspection tools
are not available.

GTK's main development branch already has a fairly well tested check, so
let's backport it.
meson.build